package com.hpin.fansea.utils;

/**
 * Created by Aaron on 15/9/7.
 */
public class Constant {

    public static final String WEB_ROOT_BASE = "http://182.92.227.4:80/sgj/"; //
    //	public static final String WEB_ROOT = "http://182.92.227.4:8081/lehuijia/interface/"; // 测试
    public static final String WEB_ROOT = WEB_ROOT_BASE + "interface/"; // 远程测试
    //	public static final String WEB_ROOT = "http://192.168.1.102:8080/sgj/interface/"; // 贾哥测试
    public static final String FW_JZ_PRICE = WEB_ROOT_BASE + "html/fuwu/jiazheng.html";//家政价目表url
    public static final String FW_XY_PRICE = WEB_ROOT_BASE + "html/fuwu/xiyi.html";//洗衣价目表url
    public static final String REGIST_AGREEMENT_URL = WEB_ROOT_BASE + "html/xieyi.htm"; // 注册协议地址
    public static final String REPAIR_PRICE_URL = WEB_ROOT_BASE + "html/fuwu/price.html"; // 报修价目表url
    public static final String PLEASE_WAIT_HTML = WEB_ROOT_BASE + "html/fuwu/hch.html"; // 航程会敬请期待url
    public static final String PLEASE_WAIT_HTML_SHUANGQUAN = "http://www.wenjuan.com/s/YnMBNn/"; // 商圈敬请期待url

    public static final String PHOTO_CACHE = "/fanseaCache"; //拍照图片存储的文件夹名称

    public static final String SYSTEM_TYPE = "1000500060004"; // 客户端类型
    //登录用户类型
    public static final String INTERFACE_USERTYPE_NORMAL = "1000500050001";//正常登录
    public static final String INTERFACE_USERTYPE_VISITOR = "1000500050002";//游客登录

    public final static String STATUS_SUCESS = "1000100030001"; // 成功
    public final static String STATUS_FAILED = "1000100030002"; // 失败

    public final static String EXPRESS_NOT_RECEOVER = "1000200060001"; //未签收
    public final static String EXPRESS_RECEOVERED = "1000200060002"; // 已签收

    //轮播图轮播的延迟时间
    public final static long MSG_DELAY = 3000;//轮播图轮播的延迟时间

    public static final int MAX_SIZE = 1000;//轮播图的最大张数
    //游客
    public static final String STATUS_VISITOR = "1000500010003";
    //注册用户
    public static final String REGISTER_USER = "1000500010002";
    //认证用户
    public static final String AUTH_USER = "1000500010001";
    //锁定用户
    public static final String AUTH_LOCK = "1000500020002";
    //注销用户
    public static final String AUTH_OUT = "1000500020003";
    // 待认证
    public static final String AUTH_WAIT = "1000500030001";
    //认证通过
    public static final String AUTH_PASSED = "1000500030002";
    //认证不通过
    public static final String AUTH_RESUSED = "1000500030003";
    //分页加载数据,每页的条目数
    public static final int PAGECOUNT = 15;

    /* dictId 商家类型id */
    public static final String RECOMMEND = "1000200030001";// 今日推荐
    public static final String FOOD = "1000200010001";// 美食
    public static final String LEISURE = "1000200010002";// 休闲
    public static final String MOVIE = "1000200010003";// 购物
    public static final String TRANSATION = "1000200010004";// 生活服务
    public static final String ATTRACTION = "1000200010005";// 更多

    //性别 女
    public static final String SEX_FREMALE = "1020202";

   //性别男
    public static final String SEX_MALE = "1020201";

    public static final String CONFIG = "config";//sp 配置文件名称
    public static final String NODATA = "数据获取失败";
    public static final String NOMOREDATA = "没有更多数据了";
    public static final String LOADING = "加载中...";
    public static final String WAIT = "请稍候...";
    /**
     * 我是尚管家的密码
     */
    public static final String DEFAULT_PSW = "我是尚管家的密码";
    public static final String DEFAULT_PSW_SHORT = "我是尚管家";
    public static final String NETWORK_EXCEPTION_ERROR = "请检查您的网络配置";

    //登录后用户保存的数据
    public static final String communityId = "communityId";
    public static final String token = "token";
    public static final String userName = "userName";
    public static final String userId = "userId";//15311280989
    public static final String nickname = "nickname";
    public static final String headPic = "headPic";
    public static final String address = "address";
    public static final String password = "password";
    public static final String status = "status";//1000500010002
    public static final String email = "email";
    public static final String mobile = "mobile";
    public static final String cityId = "cityId";
    public static final String projectName = "projectName";//首创•澜茵山
    public static final String houseCode = "houseCode"; //BJ-AZ53-ZZ-03-02-1001
    public static final String currentCommunityId = "currentCommunityId";
    public static final String houseId = "houseId";
    public static final String gender = "gender";//1020201
    public static final String birthday = "birthday";
    public static final String age = "age";
    public static final String cityName = "cityName";
    public static final String communityName = "communityName";
    public static final String buildingNo = "buildingNo";//3号楼
    public static final String unitNo = "unitNo";//2单元
    public static final String houseNo = "houseNo";//2-1001
    public static final String idNo = "idNo";//

    //fragment 的 tag
    public static final String HOME = "HOME";
    public static final String ENGAGEDSERVICE = "ENGAGEDSERVICE";
    public static final String SHOPPINGCIRCLE = "SHOPPINGCIRCLE";
    public static final String MY = "MY";

    //    // 订单支付方式 1000700010001:网上支付1000700010002:货到付款
//    public static final String PAY_TYPE_NET = "1000700010001";
//    public static final String PAY_TYPE_CARGO = "1000700010002";
    // 配送方式
//    public static final String DELV_SUPPLE = "1000700020001";// 供应商配送
    public static final String DELV_PROPERTY = "1000700020002";// 物业配送
    //    public static final String DELV_USER = "1000700020003";// 用户自取
    // 订单类型
    public static final String ORDER_PURCHASE = "1000700050001";// 团购
    //    public static final String ORDER_GOODS = "1000700050002";// 商品
    // 支付结果
    // 1000100030001：成功1000100030002：失败
    public static final String PAY_SUCESS = "1000100030001";// 成功
    public static final String PAY_FAIL = "1000100030002";// 失败

    public static final String PAY_PROPERTY = "100100005";// 物业费支付 类型
    public static final String PAY_GOODS = "100100006";// 商品支付 类型

    /* 我的订单 */
    // 订单状态ordStat
    public static final String ORDER_STATE_NOT_PAY = "1000700070001";// 未付款
    public static final String ORDER_STATE_PAY = "1000700070002";// 已付款
    public static final String ORDER_STATE_CANEL = "1000700070003";// 已取消

    public static final String ORDER_STATE_VALID = "1000700070006";// 有效订单
    public static final String ORDER_STATE_ARRIVE = "1000700070007";// 到货订单
    public static final String ORDER_STATE_FINISH = "1000700070008";// 已完成
    // 退款状态
    public static final String ORDER_STATE_RETURN_WAIT = "1000700070009";// 退款待审核
    public static final String ORDER_STATE_SUBMIT_REFUND_SUCCESS = "1000700070004";// 待退款
    public static final String ORDER_STATE_SUBMIT_REFUND_FAIL = "1000700070005";// 审核不通过

    public static final String ORDER_STATE_RETURN_REFUND_SUCCESS = "1000700070010";// 已退款
    // 添加新状态
    // 退货状态
    public static final String ORDER_STATE_RETURN_GOODS_APPLY = "1000700070020";// 退货申请
    public static final String ORDER_STATE_RETURN_GOODS_WAIT = "1000700070021";// 待退货
    public static final String ORDER_STATE_RETURN_GOODS_WAREHOUSEING = "1000700070022";// 退货已入库
    public static final String ORDER_STATE_RETURN_GOODS_REFUND = "1000700070023";// 退货已退款
    public static final String ORDER_STATE_DISTR = "1000700070024";// 配送中

    public static final String PHOTOS_SUB = "19890618";//图片分割字段

    public static final String LOGIN = "loginService"; // 登录
    public static final String CITY_LIST = "houseService/cityList"; // 城市列表
    public static final String HOUSESERVICE = "houseService/"; // 小区列表
    public static final String PROJECTLIST = "/projectList"; // 小区列表

    //获取首页数据
    public static final String HOMEDATA = "sGJFirstPageService/sgjFirstPageList"; // 首页数据

    //    public static final String GETCODE = "changePasswordVerification"; // 获取忘记密码的验证码
    public static final String RESETPASSWORD = "changePasswordService/"; // 修改密码
    public static final String ADDMAINTAIN = "maintainService/addMaintain/";// 报修
    /**
     * 获取办事指南分类
     */
    public static final String GUIDECLASSIFY = "guideService/guideTypeList";
    public static final String GUIDELIST = "guideService/guideList";// 获取办事指南列表
    public static final String GUIDECOMMENTLIST = "guideService/commentOfGuideList/";// 获取办事指南评论列表
    public static final String ADDGUIDECOMMENTLIST = "commentOfGuideService/addCommentOfGuide/";// 办事指南发表评论
    public static final String REGISTSERVICE = "registService";// 注册

    public static final String COMMUNITYSERVICE = "loginCommunityService/";// 第一次选择小区
    public static final String GETPROPERTYFEE = "propertyFeeService/propertyFee/";// 获取物业费
    public static final String BUSSNISEINDEXLIST = "nearBussniseService/list";// 获取商家首页列表
    public static final String BUSSNISECOMMENTLIST = "nearBussniseService/commentOfNBList/";// 获取商家评论列表
    public static final String ADDBUSSNISECOMMENT = "commentOfNBService/addCommentOfNB";// 周边商家发表评论
    public static final String EXPRESSLIST = "expressService/getExpressList";//获取快递服务列表
    public static final String EXPRESSDETAIL = "expressService/getExpressDetail";//获取快递服务详情
    public static final String RECEIVEREXPRESS = "expressService/updateExpressStatus";//签收快递
    public static final String SERVICELIST = "handleInfoService/getHandleServiceList";//我的服务列表
    public static final String HOUSERENTSERVICE = "houseRentService/houseRentList";//房屋 出租, 出售
    public static final String RELEASEHOUSEINFO = "houseRentService/publishHouseRent";//房屋 出租, 出售
    public static final String HOUSEDETAILINFO = "houseRentService/houseRentDetail/";//房屋详情
    public static final String CIRCLECLASSIFYDATA = "newgroupBuyService/groupBuyCategoryList";//商圈分类数据
    public static final String GOODSLIST = "newgroupBuyService/groupBuyList";//团购列表
    public static final String GOODSDETAIL = "groupBuyService/groupBuyInfo";//团购详情
    public static final String GOODSCOMMENT = "groupBuyService";//商品评价
    public static final String GOODSMYCOMMENT = "groupBuyService/reviewGroupBuy";//商品评论 -- 我发布
    public static final String PURCHASEPAY = "PurchasePay";//提交支付结果
    public static final String PURCHASEORDER = "groupBuyService/shopping";//商品下单
    public static final String REQUESTSERVICE = "handleInfoService/addHandleService";//请求服务
    public static final String SERVICEDEAIL = "handleInfoService/getHandleServiceDetail";//服务详情
    public static final String SERVICECANCLE = "handleInfoService/cancel";//服务详情
    public static final String PROPERTYORDER = "propertyFeeService/payOrder";//物业费下单
    public final static String PayRecordList = "payRecordService/payRecordList";// 缴费记录列表

    public static final String GETREGISTERCODE = "verificationCodeService";//获取注册验证码
    public static final String CHECKSERVICE = "checkService";//检查注册验证码
    public static final String GETFORGETCODE = "changePasswordVerification";//获取修改密码的验证码

    /**
     * 添加收货地址
     */
    public static final String ADD_ADDRESS = "userAddressService/addAddress";
    /**
     * 删除收货地址
     */
    public static final String DELETE_ADDRESS = "userAddressService/deleteAddress";
    /**
     * 更新收货地址
     */
    public static final String UPDATE_ADDRESS = "userAddressService/updateAddress";
    /**
     * 查询所有的收货地址
     */
    public static final String GET_ADDRESSES = "userAddressService/userAddressList";

    public static final String FW_JZ = "1000200070001";//家政
    public static final String FW_XC = "1000200070002";//洗车
    public static final String FW_XY = "1000200070003";//洗衣
    public static final String FW_KD = "1000200070004";//快递服务
    public static final String FW_FWZS = "1000200070005";//房屋租售
    public static final String FW_PS = "1000200070006";//配送服务

    public static final String HOUSESELL = "sell";//房屋  出售
    public static final String HOUSERENT = "rent";//房屋 出租

    public static final String SUGGESTBACK = "feedbackService/saveFeedback";//意见反馈
    /**
     * 意见类型 建议
     */
    public static final String SUGGEST_BACK = "1000800020001";
    public static final String UPLOADPIC = "utilservice/receivePic";// 上传图片
    /**
     * 获取轮播图
     */
    public static final String GETBUNNER = "advertMapService/advertMapList"; // 获取轮播图
    /**
     * 首页banner
     */
    public static final String HOMEPAGER = "10008000100010001";//首页banner
    /**
     * 服务banner
     */
    public static final String SERVERPAGER = "10008000100010002";//服务banner
    /**
     * 团购banner
     */
    public static final String PURCHASEPAGER = "10008000100010003";//团购banner
//    /** 近邻banner */
//    public static final String NEIGHBORPAGER = "10008000100010004";//近邻banner
    /**
     * 轮播图是否调转到团购详情页面
     */
    public static final String JUMP_PURCHASE = "groupbuy";//轮播图是否调转到团购详情页面
    public static final String CELLBROADCASTLIST = "cellBroadcastService/cellBroadcastList";// 获取小区广播列表
    public static final String CELLBROADCASTDETAIL = "cellBroadcastService/cellBroadcastDetail/";// 获取小区广播详细信息

    /**
     * 修改个人信息
     */
    public static final String FIXMYINFO = "modifyMyInfoService";
    /**
     * 获取小区期次
     */
    public static final String COMMUNITYISSUE = "newhouseService/qiciList";//获取小区期次
    /**
     * 获取楼栋列表
     */
    public static final String COMMUNITYBUILD = "newhouseService/buildingList";//获取楼栋列表
    /**
     * 获取单元列表
     */
    public static final String COMMUNITYUNIT = "newhouseService/unitList";//获取单元列表
    /**
     * 获取房屋号
     */
    public static final String COMMUNITROOM = "newhouseService/houseList";//获取房屋号
    /**
     * 用户认证
     */
    public static final String AUTH = "certificationService";//用户认证
    public static final String MYORDERLIST = "groupBuyService/";// 我的订单列表
    public static final String SALE_RETURN = "groupBuyService/salesReturn";// 申请退货
    public static final String GETMAINTAINLIST = "maintainService/maintainList";// 获取报修记录列表

    /**
     * 我的消息
     */
    public static final String MYNEWS = "messageService/myPushMessage";//我的消息
    public static final String NEARBUSSNISELIST = "nearBussniseService/nearBussniseList";// 获取周边商家列表


    /***
     * 预约状态
     */
    public final static String SERVICE_STATUS_WAIT = "1000200050001";//待受理
    public final static String SERVICE_STATUS_ALREADY = "1000200050002";//已受理
    public final static String SERVICE_STATUS_FINSH = "1000200050003";//已完成
    public final static String SERVICE_STATUS_CANCEL = "1000200050004";//已取消


    public static final String DEFAULT_PEOPLE = "DEFAULT_PEOPLE";
    public static final String DEFAULT_ADDRESS = "DEFAULT_ADDRESS";
    public static final String DEFAULT_TEL = "DEFAULT_TEL";


    /**
     * 支付类型
     */
//    public static final String PAYMETHOD_KUAQIQIAN = "1000700010001"; // 快钱
    public static final String PAYMETHOD_ZHIFUBAO = "1000700010002"; // 支付宝
    public static final String PAYMETHOD_WEIXIN = "1000700010003"; // 微信
//    public static final String PAYMETHOD_HONGBAO = "1000700010004"; // 红包

}
